WPGraphQL\Registry\TypeRegistry D

Total Complexity 127
Dependencies 131
Dependents 61
Total lines 1,252
Lines of code 657
Logical lines of code 353
Comment lines 463
Methods 33
Properties 6

Methods 33

Method Rating Maintainability Complexity Lines of code
init_type_registry()
D
21
24 251
prepare_field()
A
41 14 60
register_type()
A
46 12 41
register_field()
A
42 8 62
prepare_type()
A
49 10 31
register_fields()
S
64 6 9
prepare_fields()
S
61 5 12
setup_type_modifiers()
S
60 4 16
register_connections_from_config()
S
59 4 14
get_excluded_mutations()
S
67 3 7
get_excluded_types()
S
67 3 7
list_of()
S
65 3 10
get_excluded_connections()
S
67 3 7
deregister_mutation()
S
62 2 13
deregister_connection()
S
62 2 12
get_eager_type_map()
S
64 2 11
deregister_field()
S
63 2 11
get_unmodified_type_name()
S
68 2 7
register_mutation()
S
68 2 7
get_type()
S
64 2 9
non_null()
S
69 2 7
init()
S
61 1 12
__construct()
S
74 1 5
register_connection()
S
80 1 3
format_key()
S
80 1 3
has_type()
S
79 1 3
register_union_type()
S
75 1 4
register_input_type()
S
75 1 4
register_enum_type()
S
75 1 4
register_interface_type()
S
75 1 4
register_object_type()
S
75 1 4
register_scalar()
S
75 1 4
get_types()
S
79 1 3